<?php

abstract class MM_Controller_My_EventDetailAction extends MM_Controller_My_Action
{
	/**
	 * @var MM_Model_Event
	 */
	protected $eventdetail = null;
	
    /** 
     * 初始化
     */
    public function init ()
    {
    	parent::init();
    	
    	$service = new MM_Service_Admin_Event();
    	$result = $service->find($this->eid);
    	$this->eventdetail = $result->getData();
    	$this->pageview->assign("eventid",$this->eid);
    	$this->pageview->assign("event",$this->eventdetail);
    }
	
	//---------------------------------------------------------
	// 接口
	//---------------------------------------------------------
	

}
